Namespace: OtlContainers

Unit globals OtlContainers


public unit globals OtlContainers


Field Summary
  internal  System.Extended CAlmostFullLoadFactor
 
  internal  System.Extended CPartlyEmptyLoadFactor
 
 

Method Summary
  public function IOmniValueQueue CreateOmniValueQueue(UseBusLocking: boolean; ThresholdForFull: integer)
 
  public Sub InitializeTimingInfo()
 
  public function pointer RoundUpTo(value: pointer; granularity: integer)
 
 

Field Detail

CAlmostFullLoadFactor

internal const CAlmostFullLoadFactor: System.Extended = 0.9
Initial
0.9
Const
True

CPartlyEmptyLoadFactor

internal const CPartlyEmptyLoadFactor: System.Extended = 0.8
Initial
0.8
Const
True

Method Detail

CreateOmniValueQueue

public function CreateOmniValueQueue(UseBusLocking: boolean; ThresholdForFull: integer): IOmniValueQueue 
param
Set to true to use a spinlock. Otherwise synchronisation is achieved by a critical section.
The count of OmniValues to which if the queue reaches or exceeds, it is considered full.
Use a a value of -1 to indicate there is no threshold (and hence events like coiNotifyOnAlmostFull will never fire).
Returns
IOmniValueQueue

InitializeTimingInfo

public procedure InitializeTimingInfo()

RoundUpTo

public function RoundUpTo(value: pointer; granularity: integer): pointer
Returns
pointer